import BaseTemplate from "@/components/layout/BaseTemplate.vue";

export default [
  {
    path: "/plan",
    name: "planTemplate",
    component: BaseTemplate,
    children: [
      {
        path: "order-to-production",
        name: "OrderToProduction",
        component: () =>
          import(
            /* webpackChunkName: "productionPlan" */ "@/views/plan/OrderToProduction.vue"
          ),
        meta: {
          title: "订单生成计划编制",
        },
      },
      {
        path: "production-plan",
        name: "productionPlan",
        component: () =>
          import(
            /* webpackChunkName: "productionPlan" */ "@/views/plan/ProductionPlanReceipt.vue"
          ),
        meta: {
          title: "生产计划编制",
        },
      },
      {
        path: "complementary-order-plan",
        name: "complementaryOrderPlan",
        component: () =>
          import(
            /* webpackChunkName: "complementaryOrderPlan" */ "@/views/plan/ComplementaryOrderPlanReceipt.vue"
          ),
        meta: {
          title: "补环生产计划编制",
        },
      },
      {
        path: "patch-order-plan",
        name: "patchOrderPlan",
        component: () =>
          import(
            /* webpackChunkName: "patchOrderPlan" */ "@/views/plan/PatchOrderPlanReceipt.vue"
          ),
        meta: {
          title: "补片生产计划编制",
        },
      },
      {
        path: "annual-production-plan",
        name: "annualProductionPlan",
        component: () =>
          import(
            /* webpackChunkName: "annualProductionPlan" */ "@/views/plan/AnnualProductionPlanReceipt.vue"
          ),
        meta: {
          title: "年度生产计划",
        },
      },
      {
        path: "quarterly-production-plan",
        name: "quarterlyProductionPlan",
        component: () =>
          import(
            /* webpackChunkName: "quarterlyProductionPlan" */ "@/views/plan/QuarterlyProductionPlanReceipt.vue"
          ),
        meta: {
          title: "季度生产计划",
        },
      },
      {
        path: "monthly-production-plan",
        name: "monthlyProductionPlan",
        component: () =>
          import(
            /* webpackChunkName: "monthlyProductionPlan" */ "@/views/plan/MonthlyProductionPlanReceipt.vue"
          ),
        meta: {
          title: "月度生产计划",
        },
      },
      {
        path: "weekly-production-plan",
        name: "weeklyProductionPlan",
        component: () =>
          import(
            /* webpackChunkName: "weeklyProductionPlan" */ "@/views/plan/WeeklyProductionPlanReceipt.vue"
          ),
        meta: {
          title: "周生产计划",
        },
      },
      {
        path: "daily-production-plan",
        name: "dailyProductionPlan",
        component: () =>
          import(
            /* webpackChunkName: "dailyProductionPlan" */ "@/views/plan/DailyProductionPlanReceipt.vue"
          ),
        meta: {
          title: "当日生产计划",
        },
      },
      {
        path: "daily-segment-production-plan",
        name: "dailySegmentProductionPlan",
        component: () =>
          import(
            /* webpackChunkName: "dailySegmentProductionPlan" */ "@/views/plan/DailySegmentProductionPlanReceipt.vue"
          ),
        meta: {
          title: "日管片生产计划编制",
        },
      },
      {
        path: "pending-patch-data",
        name: "pendingPatchData",
        component: () =>
          import(
            /* webpackChunkName: "pendingPatchData" */ "@/views/plan/PendingPatchDataReceipt.vue"
          ),
        meta: {
          title: "待生产管片明细数据生成查询维护",
        },
      },
      {
        path: "reinforcement-cage",
        name: "reinforcementCage",
        component: () =>
          import(
            /* webpackChunkName: "reinforcementCage" */ "@/views/plan/ReinforcementCageExecutionPlanReceipt.vue"
          ),
        meta: {
          title: "钢筋笼班次执行计划编制",
        },
      },
      {
        path: "pouring-plan",
        name: "pouringPlan",
        component: () =>
          import(
            /* webpackChunkName: "pouringPlan" */ "@/views/plan/SegmentPouringExecutionPlanReceipt.vue"
          ),
        meta: {
          title: "管片浇筑班次执行计划编制",
        },
      },
    ],
  },
];
